package com.jiaxz.cloud.movie.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.jiaxz.cloud.movie.entity.User;

@FeignClient(name="microservice-simple-provicer-user")
public interface UserFeignInterface {
	 @GetMapping("/user/findById/{id}")
	 public User findById(@PathVariable(name="id") long id);

}
